package com.photo.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 预约拍摄表
 *
 * @TableName appointment
 */
@TableName(value = "appointment")
@Data
public class Appointment implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 预约用户ID
     */
    @TableField(value = "userId")
    private Long userId;
    /**
     * 摄影产品分类ID（可选关联）
     */
    @TableField(value = "categoryId")
    private Long categoryId;
    /**
     * 预约开始时间
     */
    @TableField(value = "startTime")
    private Date startTime;
    /**
     * 预约结束时间
     */
    @TableField(value = "endTime")
    private Date endTime;
    /**
     * 拍摄地点
     */
    @TableField(value = "location")
    private String location;
    /**
     * 备注信息
     */
    @TableField(value = "remarks")
    private String remarks;
    /**
     * 预约状态
     */
    @TableField(value = "status")
    private String status;
    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createTime;
    /**
     * 更新时间
     */
    @TableField(value = "updateTime")
    private Date updateTime;
    /**
     * 是否删除
     */
    @TableField(value = "isDelete")
    private Integer isDelete;
}